package cn.ctodb.commons.fdfs;

import cn.ctodb.commons.pool.ObjectPool;

public class ClientPool extends ObjectPool<Client> {

	private FdfsProperties fdfsProperties;

	public ClientPool(FdfsProperties fdfsProperties) {
		this.fdfsProperties = fdfsProperties;
	}

	@Override
	protected Client create() {
		return new Client(fdfsProperties.getServers());
	}

}
